import Vue from 'vue'
import App from './App'
import cuCustom from 'colorui/components/cu-custom.vue'

import storage from 'util/storage.js'//引入封装的storage请求文件
import http from 'api/http.js'//引入封装好的请求
import api from 'api/api.js'//引入已封装的api


Vue.config.productionTip = false
Vue.component('cu-custom',cuCustom)

Vue.prototype.$api = api//api挂载到Vue上
Vue.prototype.$storage = storage;//挂载到Vue原型上面
Vue.prototype.$axios = http;
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
